package net.hn.hnms.biz.intelligence.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.Instant;
import java.util.Date;

/**
 * 人员历史信息
 */
@Data
@NoArgsConstructor
public class PersonHistoryVO {

    @ApiModelProperty("人员编码")
    private String staffCode;
    @ApiModelProperty("姓名")
    private String staffName;
    @ApiModelProperty("职责")
    private String workType;
    @ApiModelProperty("")
    private String position;
    @ApiModelProperty("部门名称")
    private String departmentName;
    @ApiModelProperty("生日")
    private String birthDate;
    @ApiModelProperty("教育程度")
    private String staffEducation;
    @ApiModelProperty("是否为领导")
    private Integer isLeader;
    @ApiModelProperty("是否特殊工种")
    private Integer isSpecial;
    @ApiModelProperty("入井时间")
    private String wellTime;
    @ApiModelProperty("出井时间")
    private String wellOutTime;

    public PersonHistoryVO(String staffCode,
                           String staffName,
                           String workType,
                           String position,
                           String departmentName,
                           Integer isLeader,
                           Integer isSpecial,
                           String wellTime,
                           String wellOutTime) {
        this.staffCode = staffCode;
        this.staffName = staffName;
        this.workType = workType;
        this.position = position;
        this.departmentName = departmentName;
        this.isLeader = isLeader;
        this.isSpecial = isSpecial;
        this.wellTime = wellTime;
        this.wellOutTime = wellOutTime;

    }

    public PersonHistoryVO(String staffCode, String staffName, String workType, String departmentName,
                           Integer isLeader, String wellTime, String wellOutTime) {
        this.staffCode = staffCode;
        this.staffName = staffName;
        this.workType = workType;
        this.departmentName = departmentName;
        this.isLeader = isLeader;
        this.wellTime = wellTime;
        this.wellOutTime = wellOutTime;
    }
}
